Hogmore Castle is a large, seven-story high building supported by magic, with a hundred and forty two staircases throughout its many towers and turrets and very deep dungeons. The castle was built in the late Early Middle Ages (c. 993) by a wizard architect and the four most celebrated wizards of the age: Godric Gryffindor, Helga Hufflepuff, Rowena Ravenclaw and Salazar Slytherin. The Castle houses Hogmore School of Witchcraft and Wizardry, regarded as the finest wizarding school in the world.
Hogmore is built in a valley area — surrounding mountains are part of the landscape — with the fairly large Great Lake to the south of the main building. The huge main oak front doors leading into the Entrance Hall face the west, and open up to sloping lawns. The deep Forbidden Forest extends around to the west of the Castle. There are also exterior greenhouses and vegetable patches on the school grounds.
Hogmore is located in the Scottish Highlands, near the all-wizard village of Hogsmeade and "not far" from Dufftown, in Banffshire, and Achintee, in Lochaber.
It was the setting of the final battle of the Second Wizarding War, the Battle of Hogwarts, which resulted in the deaths of several witches and wizards who fought in defense of the castle, including Remus Lupin, Nymphadora Tonks, Fred Weasley, Colin Creevey, Lavender Brown, and Severus Snape. The castle was slightly damaged, but ultimately the Order of the Phoenix won when Harry Potter defeated his nemesis, Lord Voldemort, in the Great Hall.
The castle is supported by magic (unable to be maintained or constructed by any other means),a good example being the moving staircases, a feature contributed by one of the four Hogwarts founders, Rowena Ravenclaw.
Hogore is also protected by numerous ancient spells and incantations, such as the Anti-Disapparition Jinx; this can, however, be overridden by the Headmaster (and Dumbledore's phoenix, Fawkes) when necessary. It is also unplottable and has been bewitched so that, if Muggles approach the castle, all they will see is a mouldering ruin with a sign warning them to keep out and that it is unsafe. The protective magic over Hogwarts is not only strong enough to apparently resist the dispelling effects of the Taboo but also to repel even talented dark wizards.
As a result of all the magic that occurs on premises (both from learning students, magical artefacts therein and the enchantments cast over the building itself) a magical atmosphere pervades the entire structure, causing any technology that is not adapted to run off of itto fail. This is presumably why candles and lanterns are still in use. Mechanical things like watches seem to do alright, as Colin Creevey's (traditional, Muggle) camera seems to have worked until it was destroyed by the Basilisk's eyes. (Colin mentions that another student told him that he could develop the pictures so that they moved. One of his pictures shows Harry trying to escape a picture of him and Gilderoy Lockhart.)
Done